crypto/tls.clientKeyExchangeMsg.ciphertext (field)
20 uses
crypto/tls (current package)
handshake_messages.go#L1584: ciphertext []byte
handshake_messages.go#L1591: length := len(m.ciphertext)
handshake_messages.go#L1597: copy(x[4:], m.ciphertext)
handshake_messages.go#L1612: m.ciphertext = data[4:]
key_agreement.go#L50: if len(ckx.ciphertext) < 2 {
key_agreement.go#L53: ciphertextLen := int(ckx.ciphertext[0])<<8 | int(ckx.ciphertext[1])
key_agreement.go#L54: if ciphertextLen != len(ckx.ciphertext)-2 {
key_agreement.go#L57: ciphertext := ckx.ciphertext[2:]
key_agreement.go#L99: ckx.ciphertext = make([]byte, len(encrypted)+2)
key_agreement.go#L100: ckx.ciphertext[0] = byte(len(encrypted) >> 8)
key_agreement.go#L101: ckx.ciphertext[1] = byte(len(encrypted))
key_agreement.go#L102: copy(ckx.ciphertext[2:], encrypted)
key_agreement.go#L259: if len(ckx.ciphertext) == 0 || int(ckx.ciphertext[0]) != len(ckx.ciphertext)-1 {
key_agreement.go#L263: peerKey, err := ka.key.Curve().NewPublicKey(ckx.ciphertext[1:])
key_agreement.go#L317: ka.ckx.ciphertext = make([]byte, 1+len(ourPublicKey))
key_agreement.go#L318: ka.ckx.ciphertext[0] = byte(len(ourPublicKey))
key_agreement.go#L319: copy(ka.ckx.ciphertext[1:], ourPublicKey)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |